<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div th:fragment="goodsListPage" class="content">
		<div class="card" v-for="goods in goodses">
			<div class="card-header"><span>{{goods.partNo}}</span><span>{{goods.status_fmt}}</span></div>
			<div class="card-content">
				<div class="card-content-inner">
					<div class="list-block media-list">
						<ul>
							<li>
								<div class="item-link item-content">
									<div class="item-media">
										<img :src="goods.defaultImage" style='width: 4rem;'>
									</div>
									<div class="item-inner">
										<div class="item-title-row">
											<div class="item-title">{{goods.name}}</div>
											<div class="item-after">{{goods.minPrice_fmt}}</div>
										</div>
										<div class="item-title-row">
											<div class="item-title">{{goods.invCount}}</div>
											<div class="item-after">{{goods.buyPrice_fmt}}</div>
										</div>
										<div class="item-text">{{goods.description}}</div>
									</div>
								</div>
							</li>
						</ul>
					</div>
				</div>
			</div>
			<div class="card-footer">
				<span></span>
				<span><button type="button" class="button button-fill button-success">更新库存</button></span>
			</div>
		</div>
	</div>
	<div th:fragment="goodsDetailPage"></div>
</body>
</html>